package com.neusoft.serviceImp;
import com.neusoft.mapper.NoticeMapper;

import com.neusoft.pojo.Notice;

import com.neusoft.service.INoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class NoticeServiceImp implements INoticeService {
    @Autowired(required = false)
    NoticeMapper noticeMapper;

//    @Override
//    public List<Notice> sysDeptList(Notice notice) {
//        return noticeMapper.NoticeList(notice);
//    }

    @Override
    public List<Notice> noticeList(Notice notice) {
        return noticeMapper.NoticeList(notice);
    }
}
